package com.ruoyi.order.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.sql.Date;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("position_recorder")
public class PositionRecorder extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
//
    @TableId(value = "position_recorder_id" ,type = IdType.AUTO)
    private  Long PositionRecorderId;
//
    @Excel(name = "订单id")
    private  Long orderId;
//
    @Excel(name = "位置经度")
    private String positionLongitude;

    @Excel(name = "位置纬度")
    private String positionLatitude;

    @Excel(name = "位置信息")
    private String positionInfo;

    @Excel(name = "状态",readConverterExp = "0=正常,1=停用")
    private String status;

    @Excel(name = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;






}
